import os

paths= []
# file = r'D:\Codeware\Pythoncode\日本kik台网数据处理\日本kik数据处理\IWT0129805110832'
def read_inM(file):
    for root, dirs, files in os.walk(file):
        for file in files:
            path = os.path.join(root, file)
            paths.append(path)
    return paths
        # print(path)
# read_inM(file)
# print(len(paths))
# for path in paths:
#     print(path)
